<?php
/**
 * @package PHPKit.
 * @author: mawenpei
 * @date: 2016/12/2
 * @time: 10:20
 */

class abcTask extends HuoKit\HuoServer\Core\Process
{
    private $out;

    public function run()
    {
        $this->out = [$this->name,$this->params,'hello','world'];
        $this->logger->info('abc task run success');
    }

    public function commandStatus()
    {
        sleep(3);
        $this->logger->info('receive command status');
        return $this->out;
    }
}